import request from '@/utils/request'


// 获取首页实时数据
export function DeviceRealStatus() {
    return request({
      url: '/api/HomePage/DeviceRealStatus',
      method: 'get',
    })
  }


  // 获取一周能耗
export function GetOneWeekEnergy() {
  return request({
    url: '/api/HomePage/GetOneWeekEnergy',
    method: 'get',
  })
}



// 获取一周天然气消耗
export function GetOneWeekGas() {
  return request({
    url: '/api/HomePage/GetOneWeekGas',
    method: 'get',
  })
}